package ytdp.careagle.com.ytdp.entity;

import com.google.gson.Gson;

import java.io.Serializable;

/**
 * Created by admin on 2017/10/10.
 */

public class QueryAllCarType implements Serializable {

    /**
     * id : 3
     * advertsing : hg
     * bodyName : 三厢车
     * code : series-83
     * name : 君越
     * coverImage : http://owgu4sick.bkt.clouddn.com/o_1bs8550h2t48a7s1amm1dob16lcc.jpg-thumb200center
     * sellPrice : null
     * shopId : 1
     */
    private int id;
    private String advertsing;
    private String bodyName;
    private String code;
    private String name;
    private String coverImage;
    private Double sellPrice;
    private int shopId;

    public static QueryAllCarType objectFromData(String str) {

        return new Gson().fromJson(str, QueryAllCarType.class);
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAdvertsing() {
        return advertsing;
    }

    public void setAdvertsing(String advertsing) {
        this.advertsing = advertsing;
    }

    public String getBodyName() {
        return bodyName;
    }

    public void setBodyName(String bodyName) {
        this.bodyName = bodyName;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCoverImage() {
        return coverImage;
    }

    public void setCoverImage(String coverImage) {
        this.coverImage = coverImage;
    }

    public Double getSellPrice() {
        return sellPrice;
    }

    public void setSellPrice(Double sellPrice) {
        this.sellPrice = sellPrice;
    }

    public int getShopId() {
        return shopId;
    }

    public void setShopId(int shopId) {
        this.shopId = shopId;
    }


}
